export default {
  enableDirtyChecking: true,
  showDataInfoBar: true,
  xdataControlName: 'form',
  loadDefault: true,
  deviewCodeName: 'drbar_count',
  deviewId: '951c87476f802f5025f15aaaf0b203dc',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '数据关系栏_计数器',
  codeName: 'master_drbar_count',
  height: 600,
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'EditView2',
      id: 'engine',
    },
  ],
  appViewNavContexts: [
    {
      rawValue: true,
      key: 'MASTER',
      value: 'sample',
      name: 'MASTER',
      id: 'master',
    },
  ],
  controls: [
    {
      dedrbarGroups: [
        {
          caption: '默认',
          name: '默认',
          id: 'a0aa99ad32515d58406',
        },
      ],
      showTitle: true,
      dataRelationTag: 'drbar_count',
      editItemCapLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      editItemCaption: '基本信息',
      appCounterRefId: 'd0a6e348d1ed8a3141d3466137925bc7',
      dedrctrlItems: [
        {
          dedrbarGroupId: 'a0aa99ad32515d58406',
          caption: '区划',
          counterId: 'grid',
          enableMode: 'COUNT_GT_ZERO',
          appViewId: 'web.region_grid_view',
          id: 'region',
        },
        {
          dedrbarGroupId: 'a0aa99ad32515d58406',
          caption: '分类',
          counterId: 'form',
          enableMode: 'COUNT_GT_ZERO',
          appViewId: 'web.category_grid_view',
          id: 'category',
        },
        {
          dedrbarGroupId: 'a0aa99ad32515d58406',
          caption: '主数据',
          counterId: 'tree',
          enableMode: 'COUNT_GT_ZERO',
          appViewId: 'web.master_main_grid',
          id: 'master',
        },
      ],
      uniqueTag: 'master_drbar_count__drbar',
      autoLoad: true,
      showBusyIndicator: true,
      appCounterRefs: [
        {
          appCounter: {
            codeName: 'Counter',
            counterType: 'DEDR',
            getAppDEActionId: 'get_counter_data',
            appDataEntityId: 'web.master',
            timer: 60000,
            uniqueTag: 'Counter',
            name: '计数器',
            id: 'web.counter',
          },
          refMode: {
            srfdeid: 'MASTER',
          },
          tag: 'd0a6e348d1ed8a3141d3466137925bc7',
          uniqueTag: 'Counter',
          id: 'd0a6e348d1ed8a3141d3466137925bc7',
        },
      ],
      codeName: 'drbar_count',
      controlType: 'DRBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'drbar',
      },
      modelId: '103356afca5d98c02fd13387a180bdd3',
      modelType: 'PSDEDRBAR',
      name: 'drbar',
      id: 'drbar_count',
    },
    {
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.master',
        id: 'create',
      },
      getDraftFromControlAction: {
        appDataEntityId: 'web.master',
        id: 'loaddraftfrom',
      },
      getDraftControlAction: {
        appDEMethodId: 'get_draft',
        appDataEntityId: 'web.master',
        id: 'loaddraft',
      },
      getControlAction: {
        appDEMethodId: 'get_sample_data',
        appDataEntityId: 'web.master',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.master',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.master',
        id: 'update',
      },
      wfstartControlAction: {
        appDEMethodId: 'wfstart',
        appDataEntityId: 'web.master',
        id: 'wfstart',
      },
      wfsubmitControlAction: {
        appDEMethodId: 'wfsubmit',
        appDataEntityId: 'web.master',
        id: 'wfsubmit',
      },
      deformPages: [
        {
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          deformDetails: [
            {
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              deformDetails: [
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'name',
                  editor: {
                    maxLength: 200,
                    editorType: 'TEXTBOX',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'name',
                  },
                  allowEmpty: true,
                  capLanguageRes: {
                    lanResTag: 'DEF.LNAME.MASTER.NAME',
                  },
                  caption: '名称',
                  codeName: 'name',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'name',
                },
              ],
              caption: '主数据基本信息',
              codeName: 'group1',
              detailStyle: 'DEFAULT',
              detailType: 'GROUPPANEL',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'group1',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              appDEFieldId: 'id',
              editor: {
                editorType: 'HIDDEN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'id',
              },
              allowEmpty: true,
              hidden: true,
              capLanguageRes: {
                lanResTag: 'DEF.LNAME.MASTER.ID',
              },
              caption: '标识',
              codeName: 'id',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              id: 'id',
            },
          ],
          caption: '基本信息',
          codeName: 'formpage1',
          detailStyle: 'DEFAULT',
          detailType: 'FORMPAGE',
          id: 'formpage1',
        },
      ],
      layout: {
        columnCount: 24,
        layout: 'TABLE_24COL',
      },
      tabHeaderPos: 'TOP',
      noTabHeader: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'edit_view2_form',
      controlType: 'FORM',
      logicName: '编辑视图（左右关系）_表单',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'form',
      },
      modelId: '0dbfeb3968448ad8fcc7f71ec34e9b22',
      modelType: 'PSDEFORM_EDITFORM',
      name: 'form',
      id: 'web.master.edit_view2_form',
    },
    {
      codeName: 'drbar_count_datainfobar',
      controlType: 'DATAINFOBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'datainfobar',
      },
      name: 'datainfobar',
      id: 'drbar_count_datainfobar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '数据关系栏_计数器',
      codeName: 'drbar_count_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'drbar_count_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEEDITVIEW2',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '数据关系栏_计数器',
  viewStyle: 'DEFAULT',
  viewType: 'DEEDITVIEW2',
  enableDP: true,
  showCaptionBar: false,
  modelId: '0e3af571d803ef6966d60d39911918c3',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERdrbar_count',
  id: 'web.master_drbar_count',
};
